package com.cloud.api.domain.forward;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author haohaibo
 * @since 2024-01-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_vehicle_platform")
@Schema(name = "VehiclePlatform", description = "vin和平台关系")
public class VehiclePlatform implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @TableField("vin")
    private String vin;

    @TableField("platform_id")
    private String platformId;

    @Schema(description = "转发状态")
    @TableField("status")
    private String status;

    @Schema(description = "最近转发开始时间")
    @TableField("begin_time")
    private LocalDateTime beginTime;

    @Schema(description = "最近转发结束时间")
    @TableField("end_time")
    private LocalDateTime endTime;

    @Schema(description = "车型")
    @TableField("model")
    private String model;

    @Schema(description = "1:删除",hidden = true)
    @TableField("deleted")
    private int deleted;
}
